<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<base href="<%=basePath%>" />

		<title>分配角色</title>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" href="css/four.css" type="text/css"></link>
	</head>
	<body>
	<div class="topTitle">
  		<img src="images/main_28.gif"/>&nbsp;分配角色
  </div>
		<div id="main">
			<form action="dealRoles" method="post">
				<table width="95%" class="table01">
					<tr >
						<td class="td_01" width="20%">&nbsp;</td>
						<td class="td_01" width="20%" align="center" style="font-size: 20px;">选择<input type="hidden" name="key" value="<s:property value='key'/>"/></td>
						<td class="td_01" width="20%" align="left" style="font-size: 20px;">角色名称</td>
						<td class="td_01" width="20%">&nbsp;</td>
					</tr>
					<tr >
						<td class="td_03" colspan="4">&nbsp;</td>
					</tr>
					<s:iterator value="roles_list">
						<tr>
						<td class="td_03" >&nbsp;</td>
						<td class="td_03" align="center"><input type="checkbox" name="id" value="<s:property value='roleId'/>" /></td>
						<td class="td_03" align="left"><s:property value="roleName" /></td>
						<td class="td_03">&nbsp;</td>
						</tr>
					</s:iterator>
					<tr>
						<td class="td_01" >&nbsp;</td>
						<td class="td_01" colspan="2" align="center">
						<input type="submit" value="提交" class=button_select/>
						&nbsp;&nbsp;&nbsp;&nbsp;
						</td>
						<td class="td_01">&nbsp;</td>
						</tr>
				</table>
			</form>
		</div>
	</body>
</html>
